package com.shell.provider;

import java.util.Random;

public class PasswordGenerator {

	private static final Random random = new Random();

	private static String random6() {
		StringBuffer flag = new StringBuffer();
		for (int i = 0; i < 6; i++) {
			flag.append("0123456789abcdefghijklmnopqrstuvwxyz".charAt(random.nextInt(35)) + "");
		}
		return flag.toString();
	}

	public static String gen() {
		return random6();
	}

	public static void main(String[] args) {
		System.out.println(gen());
	}
}
